package com.dabai.iot.core.service;

import com.dabai.iot.core.dto.CustomMessageInput;
import com.dabai.iot.core.dto.PropertyMessageInput;
import com.dabai.iot.core.entity.DeviceEntity;

/**
 * 消息服务接口类
 *
 * @author kev1n
 */
public interface IMessageService {

    /**
     * 发送自定义消息到设备
     */
    void sendCustomMessage(DeviceEntity device, CustomMessageInput message);

    /**
     * 发送属性消息到设备
     */
    void sendPropertyMessage(DeviceEntity device, PropertyMessageInput message);

}
